package com.lxf.cloudfiles.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 罗兴发
 * @data 2025/7/14 10:05
 * @description：
 */
@Controller
@CrossOrigin  //跨域
@Slf4j
public class HtmlController {

    @RequestMapping("/")
    public String hello(){
        System.out.println("OK");
        return "file";
    }
}
